package com.ztesoft.web.filecommon.db.po;

import java.math.*;
import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class FileScanRuleInstancePO extends AbstractDto{
	private Integer  scanRuleId;
	private Integer  sourceDataId;
	private Integer  dirOrder;
	private Integer  scanRange;
	private String  fileType;
	private String  filenameScanXpath;
	private String  scanTimeType;
	private String  scanTimeSection;
	private Integer  scanTimeShiftMin;
	private Integer  scanTimeShiftMax;
	private String  scanStatements;
	private Integer  filesizeMin;
	private Integer  filesizeMax;
	private Integer  sourceFileZipSwitch;
	private Integer  targetFileZipSwitch;
	private String  ruleDesc;
	private Date  createDate;
	private String  state;
	private Date  stateDate;
    public Integer getScanRuleId() {
        return scanRuleId;
    }
    public void setScanRuleId(Integer scanRuleId) {
        this.scanRuleId = scanRuleId;
    }

    
    public Integer getSourceDataId() {
        return sourceDataId;
    }
    public void setSourceDataId(Integer sourceDataId) {
        this.sourceDataId = sourceDataId;
    }

    
    public Integer getDirOrder() {
        return dirOrder;
    }
    public void setDirOrder(Integer dirOrder) {
        this.dirOrder = dirOrder;
    }

    
    public Integer getScanRange() {
        return scanRange;
    }
    public void setScanRange(Integer scanRange) {
        this.scanRange = scanRange;
    }

    
    public String getFileType() {
        return StringUtils.isBlank(fileType) ? fileType : fileType.trim();
    }
    public void setFileType(String fileType) {
        this.fileType = fileType;
    }
    
    
    public String getFilenameScanXpath() {
        return StringUtils.isBlank(filenameScanXpath) ? filenameScanXpath : filenameScanXpath.trim();
    }
    public void setFilenameScanXpath(String filenameScanXpath) {
        this.filenameScanXpath = filenameScanXpath;
    }
    
    
    public String getScanTimeType() {
        return StringUtils.isBlank(scanTimeType) ? scanTimeType : scanTimeType.trim();
    }
    public void setScanTimeType(String scanTimeType) {
        this.scanTimeType = scanTimeType;
    }
    
    
    public String getScanTimeSection() {
        return StringUtils.isBlank(scanTimeSection) ? scanTimeSection : scanTimeSection.trim();
    }
    public void setScanTimeSection(String scanTimeSection) {
        this.scanTimeSection = scanTimeSection;
    }
    
    
    public Integer getScanTimeShiftMin() {
        return scanTimeShiftMin;
    }
    public void setScanTimeShiftMin(Integer scanTimeShiftMin) {
        this.scanTimeShiftMin = scanTimeShiftMin;
    }

    
    public Integer getScanTimeShiftMax() {
        return scanTimeShiftMax;
    }
    public void setScanTimeShiftMax(Integer scanTimeShiftMax) {
        this.scanTimeShiftMax = scanTimeShiftMax;
    }

    
    public String getScanStatements() {
        return StringUtils.isBlank(scanStatements) ? scanStatements : scanStatements.trim();
    }
    public void setScanStatements(String scanStatements) {
        this.scanStatements = scanStatements;
    }
    
    
    public Integer getFilesizeMin() {
        return filesizeMin;
    }
    public void setFilesizeMin(Integer filesizeMin) {
        this.filesizeMin = filesizeMin;
    }

    
    public Integer getFilesizeMax() {
        return filesizeMax;
    }
    public void setFilesizeMax(Integer filesizeMax) {
        this.filesizeMax = filesizeMax;
    }

    
    public Integer getSourceFileZipSwitch() {
        return sourceFileZipSwitch;
    }
    public void setSourceFileZipSwitch(Integer sourceFileZipSwitch) {
        this.sourceFileZipSwitch = sourceFileZipSwitch;
    }

    
    public Integer getTargetFileZipSwitch() {
        return targetFileZipSwitch;
    }
    public void setTargetFileZipSwitch(Integer targetFileZipSwitch) {
        this.targetFileZipSwitch = targetFileZipSwitch;
    }

    
    public String getRuleDesc() {
        return StringUtils.isBlank(ruleDesc) ? ruleDesc : ruleDesc.trim();
    }
    public void setRuleDesc(String ruleDesc) {
        this.ruleDesc = ruleDesc;
    }
    
    
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    
    public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setState(String state) {
        this.state = state;
    }
    
    
    public Date getStateDate() {
        return stateDate;
    }
    public void setStateDate(Date stateDate) {
        this.stateDate = stateDate;
    }

    
}